Function calling (OpenAI docs)
tools
type: function
function
name
description
parameters
Common use cases
Function calling allows you to more reliably get structured data back from the model.
Create assistants that answer questions by calling external APIs (e.g. like ChatGPT Plugins)
Convert natural language into API calls
Extract structured data from text
IMO:ChatGPTに外部のAPIを利用させられるし、外部のAPIを使わなくても構造化に使える
This guide is focused on function calling with the Chat Completions API, for details on function calling in the Assistants API, please see the Assistants Tools page.